package com.hospital.hospitalsystem.modules.user.service;

import com.hospital.hospitalsystem.modules.user.dao.entity.ExpressCompanyEntity;
import com.hospital.hospitalsystem.modules.user.dao.mapper.ExpressCompanyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import tk.mybatis.mapper.entity.Example;

import java.util.List;

/**
 * @author qiancheng
 * @date 2023/4/25
 */
@Component
public class ExpressCompanyService {

    @Autowired
    private ExpressCompanyMapper expressCompanyMapper;

    public List<ExpressCompanyEntity> selectByExample(Example example) {
        return expressCompanyMapper.selectByExample(example);
    }

    public List<ExpressCompanyEntity> selectAll() {
        return expressCompanyMapper.selectAll();
    }
}
